<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateCompanyApplyTabel extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('company_apply', function (Blueprint $table) {
            $table->increments('id')->comment('唯一ID');
            $table->string('company_name')->comment('企业名称');
            $table->string('contact_man')->comment('联系人');
            $table->string('contact_way')->comment('联系方式');
            $table->text('business_license')->comment('营业执照');
            $table->string('release_type')->comment('发布类型');
            $table->string('target_throng')->comment('目标群体');
            $table->text('remark')->comment('备注');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('company_apply');
    }
}
